﻿@using System.Globalization;

<MudPopoverProvider />

<h3>Persian DatePicker</h3>

<MudDatePicker Label="Date Format" @bind-Date="Date"
               HelperText="Persian" DateFormat="yyyy/MM/dd"
               Culture="@CultureInfo.GetCultureInfo("fa-Ir")" />

@code {
    [Parameter]
    public DateTime? Date { get; set; } = new DateTime(2021, 02, 14); 
}
